﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainMaster.Master" AutoEventWireup="true" CodeBehind="RateMaster.aspx.cs" Inherits="VMS_Web.RateMaster" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h4 class="panel-title">Rate Master</h4>
        </div>
        <div class="panel-body">

            <div class="form-horizontal col-md-2">
                <div class="form-group">
                    <span>Rate Code</span>
                    <input type="text" class="form-control" id="txtratecode" runat="server" placeholder="Enter Rate Code" />
                    <%--<span>Defined Rate</span>
                    <input type="text" class="form-control" id="txtchargecoderate" runat="server" />
                     <span>Unit Code</span>
                    <asp:DropDownList class="form-control" ID="ddlunitcodes" runat="server" />--%>
                     <span>Charge Codes</span>
                    <asp:DropDownList class="form-control" ID="ddlchargecodes" runat="server" />
                    <span>Master Types</span>
                    <asp:DropDownList class="form-control" ID="ddlMasters" runat="server" OnSelectedIndexChanged="ddlMasters_SelectedIndexChanged" AutoPostBack="true" AccessKey="1" EnableViewState="true" />
                    <span>Master Items</span>
                    <asp:DropDownList class="form-control" ID="ddlmasteritems" runat="server" />

                </div>
            </div>

            <div class="form-horizontal col-md-2 col-md-offset-1">
                <div class="form-group">
                 <span>Rate Paramenters</span>
                    <asp:ListBox ID="lstbxitems" class="form-control" runat="server" />
                </div>
                <div class="form-group form-inline">
                    <button id="btnadditem" class="btn-primary btn-sm" runat="server" onserverclick="btnadditem_ServerClick">Add</button>
                    <button id="btnremoveitem" class="btn-primary btn-sm" runat="server" onserverclick="btnremoveitem_ServerClick">Remove</button>
                </div>
                 <div class="form-group form-inline">
                  <span>Custom unit code</span>
                  <asp:DropDownList class="form-control" ID="ddlunitcodes" runat="server" />
                  <button id="btnaddcustunitcode" class="btn-primary btn-sm" runat="server" onserverclick="btnaddcustunitcode_ServerClick">Add</button>
                </div>
            </div>

            <div class="form-horizontal col-md-4 col-md-offset-1" runat="server" id="divRateManagement">
                <div class="form-group">
                   <span>Default unit codes</span>
                   <asp:DataGrid ID="grdunitcode" CssClass="table table-responsive" runat="server" AllowPaging="false" OnItemDataBound="grdunitcode_ItemDataBound">
                       <HeaderStyle BackColor="WhiteSmoke" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" />
                      <%-- <PagerStyle Mode="NumericPages" />
                 --%>

                    </asp:DataGrid>
                    
                </div>
                
             </div>

        </div>
        <div>
            <div class="well">
                <button id="btnnew" class="btn btn-default" title="define new rate code" runat="server" onserverclick="btnnew_ServerClick">New</button>
                <button id="btnedit" type="reset" class="btn btn-default" title="edit existing rate code">Edit</button>
                <button id="btnAction" value="Save" class="btn btn-default" title="save records">Save</button>
                <button id="Button1" value="Save" class="btn btn-default" title="To draft this entry">Draft</button>
                <button id="btnCancel" type="reset" class="btn btn-default" title="to cancel all entries">Cancel</button>
            </div>
        </div>
    </div>


</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="OnlyForJavaScript" runat="server">
</asp:Content>
